home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / SNNSV32.ZIP / SNNSv3.2 / kernel / sources / kr_art.ph < prev    next >
Text File  |  1994-04-25  |  3KB  |  108 lines

  1. /*****************************************************************************
  2.   FILE           : kr_art.ph
  3.   SHORTNAME      : kr_art.c
  4.   SNNS VERSION   : 3.2
  5.  
  6.   PURPOSE        : SNNS Kernel Function Prototypes for ART-Networks
  7.   NOTES          :
  8.  
  9.   AUTHOR         : Kai-Uwe Herrmann
  10.   DATE           : 17.05.92
  11.  
  12.   CHANGED BY     : Sven Doering
  13.   IDENTIFICATION : @(#)kr_art.ph    1.6 3/15/94
  14.   SCCS VERSION   : 1.6
  15.   LAST CHANGE    : 3/15/94
  16.  
  17.              Copyright (c) 1990-1994  SNNS Group, IPVR, Univ. Stuttgart, FRG
  18.  
  19. ******************************************************************************/
  20. #ifndef _KR_ART_DEFINED_
  21. #define  _KR_ART_DEFINED_
  22.  
  23. /* begin global definition section */
  24.  
  25. /***************************************************************************/
  26. /* krart_prop_synch ()
  27.  
  28.    synchronous propagation (1 cycle) i.e. each unit puts its output onto
  29.    its outgoing links and calculates its new activation.
  30. */
  31.  void  krart_prop_synch (void);
  32.  
  33. /***************************************************************************/
  34. /* krart_get_winner ()
  35.  
  36.    get the winner of the last propagation cycle. returns a pointer to
  37.    the winning recognition unit.
  38. */
  39.  struct Unit  *krart_get_winner (TopoPtrArray wta_layer,FlintType winner_output);
  40.  
  41. /***************************************************************************/
  42. /* krart_reset_activations
  43.  
  44.    reset activation values of all non input units to their i_act value.
  45. */
  46.  krui_err   krart_reset_activations (void);
  47.  
  48.  
  49. /***************************************************************************/
  50. /* krart_deleteTouchFlags
  51.  
  52.    delete touch-flags of all units in unit-array
  53. */
  54.  void               krart_deleteTouchFlags (void);
  55.  
  56. /***************************************************************************/
  57. /* krart_init_sorting
  58.  
  59.    initialize unit-array in order to prepare it for sorting routine
  60. */
  61.  void               krart_init_sorting (void);
  62.  
  63. /***************************************************************************/
  64. /* krart_get_NoOfInputUnits
  65.  
  66.    returns no of input units of the network
  67. */
  68.  int                krart_get_NoOfInputUnits (void);
  69.  
  70. /***************************************************************************/
  71. /* krart_check_undeterminedUnits
  72.  
  73.    checks network for undetermined units. if there are any, returns true
  74.    else false.
  75. */
  76.  bool               krart_check_undeterminedUnits (void);
  77.  
  78. /***************************************************************************/
  79. /* krart_save_inp_pat()
  80.  
  81.    copies activation values of input units to value_a field of unit-struct.
  82. */
  83.  void krart_save_inp_pat (TopoPtrArray topo_inp_ptr);
  84.  
  85.  
  86.  
  87.  
  88. /***************************************************************************/
  89. /* krart_inp_pat_changed ()
  90.  
  91.    returns TRUE, if one or more activation values of input units
  92.    differ from value_a i.e. their value changed.
  93. */
  94.  bool krart_inp_pat_changed (TopoPtrArray topo_inp_ptr);
  95.  
  96.  
  97. /* end global definition section */
  98.  
  99. /* begin private definition section */
  100.  
  101. /* end private definition section */
  102.  
  103. #endif 
  104.  
  105.  
  106.  
  107.  
  108.